package com.hdoit.ares.logical.official.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.ares.logical.official.dao.IPraiseAndGlanceDao;
import com.hdoit.ares.logical.official.model.PraiseAndGlance;
import com.hdoit.ares.logical.official.service.IPraiseAndGlanceService;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年03月10日 15:45:06
 * @comment
 */
@Component
public class PraiseAndGlanceServiceImpl extends SuperService<PraiseAndGlance> implements IPraiseAndGlanceService{
	private IPraiseAndGlanceDao praiseAndGlanceDao;
	public IPraiseAndGlanceDao getPraiseAndGlanceDao() {
		return praiseAndGlanceDao;
	}
	@Resource
	public void setPraiseAndGlanceDao(IPraiseAndGlanceDao praiseAndGlanceDao) {
		this.praiseAndGlanceDao = praiseAndGlanceDao;
	}

	@Override
	public PraiseAndGlance queryModel(String receiveId, String type) {
		return praiseAndGlanceDao.queryModel(receiveId,type);
	}

}